<template>
  <slot @change="(val:any)=>changeWrapper(val, '标题')" />
</template>

<script setup lang="ts">
import { definePropType } from '@myprint/design/constants/common';
import { changeWrapper } from '@myprint/design/utils/historyUtil';

// const emit = defineEmits(['update:modelValue'])

defineProps({
  modelValue: {
    type: definePropType<string | number | null | undefined>([
      String,
      Number,
      Object
    ]), default: null
  }
});

</script>
